// Student.h
#include "Person.h"
class Student : public Person // 公有继承
{
public:
    Student();
    ~Student();
    void setName(const string &name);
    string getName() const;
    void eat(int time);
private:
    string name;
};
